<?php
/**
 * form.phtml
 * 
 * post form partial
 * 
 * @category    Madoqua
 * @package     Module
 * @subpackage  BlogAdmin
 */

$script = '  
$(document).ready(function(){
    $("#post-options > ul").tabs();
});
';
$this->headScript()->appendScript($script);
//add tabs

$this->wysiwym('main-content', $this->form);
//add rich text editing to the post content

?>
<div id="post-options" class="tabs">
    <ul>
        <li>
            <a href="#fieldset-main">Post</a>
        </li>
        <li>
            <a href="#fieldset-options">Details</a>
        </li>
        <li>
            <a href="#fieldset-categories">Categories</a>
        </li>
    </ul>
    
    <?php echo $this->form; ?>
</div>